package cn.stylefeng.guns.modular.recy.entity;
/*
 */

import com.baomidou.mybatisplus.extension.activerecord.*;
import java.io.*;
import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("recy_user_bin")
public class UserBin extends Model<UserBin> implements Serializable
{
    //alias
    public static final String TABLE_ALIAS = "用户垃圾桶";
    public static final String ALIAS_ID = "编号";
    public static final String ALIAS_USER_ID = "用户";
    public static final String ALIAS_WASTE_TYPE_ID = "垃圾类别";
    public static final String ALIAS_TOTAL_WEIGHT = "总重量";
    public static final String ALIAS_TOTAL_INTEGRAL = "总积分";
    public static final String ALIAS_CARD_NO = "卡号";
    public static final String ALIAS_WASTE_STATION_ID = "所属垃圾站点";

    //date formats
    public static final String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";



//可以直接使用: @Length(max=50,message="用户名长度不能大于50")显示错误消息
//columns START
    @TableId(value = "id", type = IdType.ID_WORKER)
    private java.lang.Long id;

    @TableField("user_id")
    private java.lang.Long userId;

    @TableField("waste_type_id")
    private java.lang.Long wasteTypeId;

    @TableField("total_weight")
    private java.lang.Integer totalWeight;

    @TableField("total_integral")
    private java.lang.Integer totalIntegral;

    @TableField("card_no")
    private java.lang.String cardNo;

    @TableField("waste_station_id")
    private java.lang.Long wasteStationId;

//columns END







    

}
